/*     */ package cn.zzuisa.news.entity;
/*     */ 
/*     */ import cn.zzuisa.news.enums.NewsStateEnums;
/*     */ import cn.zzuisa.news.enums.NewsTypeEnums;
/*     */ import cn.zzuisa.news.util.EnumUtil;
/*     */ import java.sql.Timestamp;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class News
/*     */ {
/*     */   private Integer newsId;
/*     */   private Integer uId;
/*     */   private String newsName;
/*     */   private String newsAuthor;
/*     */   private String newsContent;
/*     */   private Integer newsType;
/*     */   private String newsKeywords;
/*     */   private Integer newsClick;
/*     */   private Integer newsState;
/*     */   private Integer newsDel;
/*     */   private Timestamp createtime;
/*     */   
/*  61 */   public NewsStateEnums getNewsStateEnums() { return (NewsStateEnums)EnumUtil.getByCode(this.newsState, NewsStateEnums.class); }
/*     */ 
/*     */ 
/*     */   
/*  65 */   public NewsTypeEnums getNewsTypeEnums() { return (NewsTypeEnums)EnumUtil.getByCode(this.newsType, NewsTypeEnums.class); }
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  70 */   public Integer getNewsId() { return this.newsId; }
/*     */ 
/*     */ 
/*     */   
/*  74 */   public void setNewsId(Integer newsId) { this.newsId = newsId; }
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*  79 */   public Integer getuId() { return this.uId; }
/*     */ 
/*     */ 
/*     */   
/*  83 */   public void setuId(Integer uId) { this.uId = uId; }
/*     */ 
/*     */ 
/*     */   
/*  87 */   public String getNewsName() { return this.newsName; }
/*     */ 
/*     */ 
/*     */   
/*  91 */   public void setNewsName(String newsName) { this.newsName = newsName; }
/*     */ 
/*     */ 
/*     */   
/*  95 */   public String getNewsAuthor() { return this.newsAuthor; }
/*     */ 
/*     */ 
/*     */   
/*  99 */   public void setNewsAuthor(String newsAuthor) { this.newsAuthor = newsAuthor; }
/*     */ 
/*     */ 
/*     */   
/* 103 */   public String getNewsContent() { return this.newsContent; }
/*     */ 
/*     */ 
/*     */   
/* 107 */   public void setNewsContent(String newsContent) { this.newsContent = newsContent; }
/*     */ 
/*     */ 
/*     */   
/* 111 */   public Integer getNewsType() { return this.newsType; }
/*     */ 
/*     */ 
/*     */   
/* 115 */   public void setNewsType(Integer newsType) { this.newsType = newsType; }
/*     */ 
/*     */ 
/*     */   
/* 119 */   public String getNewsKeywords() { return this.newsKeywords; }
/*     */ 
/*     */ 
/*     */   
/* 123 */   public void setNewsKeywords(String newsKeywords) { this.newsKeywords = newsKeywords; }
/*     */ 
/*     */ 
/*     */   
/* 127 */   public Integer getNewsClick() { return this.newsClick; }
/*     */ 
/*     */ 
/*     */   
/* 131 */   public void setNewsClick(Integer newsClick) { this.newsClick = newsClick; }
/*     */ 
/*     */ 
/*     */   
/* 135 */   public Integer getNewsState() { return this.newsState; }
/*     */ 
/*     */ 
/*     */   
/* 139 */   public void setNewsState(Integer newsState) { this.newsState = newsState; }
/*     */ 
/*     */ 
/*     */   
/* 143 */   public Integer getNewsDel() { return this.newsDel; }
/*     */ 
/*     */ 
/*     */   
/* 147 */   public void setNewsDel(Integer newsDel) { this.newsDel = newsDel; }
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 152 */   public Timestamp getCreatetime() { return this.createtime; }
/*     */ 
/*     */ 
/*     */   
/* 156 */   public void setCreatetime(Timestamp createtime) { this.createtime = createtime; }
/*     */ 
/*     */ 
/*     */   
/*     */   public String toString() {
/* 161 */     return "News [newsId=" + this.newsId + ", uId=" + this.uId + ", newsName=" + this.newsName + ", newsAuthor=" + this.newsAuthor + 
/* 162 */       ", newsContent=" + this.newsContent + ", newsType=" + this.newsType + ", newsKeywords=" + this.newsKeywords + 
/* 163 */       ", newsClick=" + this.newsClick + ", newsState=" + this.newsState + ", newsDel=" + this.newsDel + ", createtime=" + 
/* 164 */       this.createtime + "]";
/*     */   }
/*     */ }


/* Location:              /Users/frank/Desktop/admin/WEB-INF/classes/!/cn/zzuisa/news/entity/News.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */